<template>
    <div>

    </div>
</template>

<script>
    export default {
        data(){
            return{
                msg:'111111'
            }
        },
        methods:{
            click(){
                console.log('你好，我是子组件的方法');
                
            }
        },
        created(){
             this.$emit('data',this.msg)
             console.log(this.data,1111111111);
        },
        props:["data"]
    }
</script>

<style lang="scss" scoped>

</style>